package com.hxzy.research.util;

import java.util.List;

public class ListSumUtil {
    public static Integer getSum(List<Integer> list) {
        Integer sum = 0;

        for (Integer i:list) {
            sum += i;
        }

        return sum;
    }
}
